package com.space.springcloud.feign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 类名：com.space.springcloud.feign.DcController.
 * 描述：
 * 创建者： ztzn.
 * 创建时间：2018/4/27.
 * 版本：V 1.0
 */


@RestController
public class DcController {

    @Autowired
    DCClient dcClient;

    @GetMapping("/consumer")
    public String dc() {
        return dcClient.consumer();
    }
}
